<template>
	<view class="container">
		<view class="container__head">
			<view class="">待执行</view>
			<view class="">已完成</view>
		</view>
		<view class="container__body">
			<view class="container__body--card">
				<view class="container__body--card-title">机床2 维修</view>
				<view class="container__body--card-des">
					<text>维修单号：</text>
					<text>234125345</text>
				</view>
				<view class="container__body--card-des">
					<text>设备名称：</text>
					<text>机床</text>
				</view>
				<view class="container__body--card-des">
					<text>紧急程度：</text>
					<text>高</text>
				</view>
				<view class="container__body--card-des">
					<text>故障描述：</text>
					<text>内容</text>
				</view>
				<view class="container__body--card-time">2020-10-20 15：30</view>
				<button class="container__body--card-btn">待执行</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
	.container {
		
		&__head {
			height: 100rpx;
			display: flex;
			justify-content: center;
			align-items: center;
			
			view {
				width: 250rpx;
				height: 60rpx;
				font-size: 30rpx;
				text-align: center;
				line-height: 60rpx;
				background-color: #fff;
				
				&:first-child {
					border-right: 1rpx solid #eee;
				}
			}
		}
		
		&__body {
			
			&--card {
				width: 650rpx;
				margin: 0 auto;
				border-radius: 20rpx;
				background-color: #fff;
				padding: 20rpx;
				box-sizing: border-box;
				position: relative;
				
				&-title {
					height: 70rpx;
					font-size: 30rpx;
					line-height: 70rpx;
				}
				
				&-des {
					height: 55rpx;
					font-size: 25rpx;
					line-height: 55rpx;
				}
				
				&-time {
					position: absolute;
					right: 10rpx;
					top: 35rpx;
					font-size: 25rpx;
				}
				
				&-btn {
					position: absolute;
					right: 20rpx;
					bottom: 30rpx;
					width: 150rpx;
					height: 50rpx;
					font-size: 25rpx;
					text-align: center;
					line-height: 50rpx;
					background-color: green;
					color: #fff;
					border-radius: 10rpx;
				}
			}
		}
	}
</style>
